package com.seg.system.mapper;

import com.seg.system.domain.TReturnWarehouse;

import java.util.List;

/**
 * 备件退库Mapper接口
 *
 * @author seg
 * @date 2023-07-04
 */
public interface TReturnWarehouseMapper {
    /**
     * 查询备件退库
     *
     * @param id 备件退库主键
     * @return 备件退库
     */
    public TReturnWarehouse selectTReturnWarehouseById(Long id);

    /**
     * 查询备件退库列表
     *
     * @param tReturnWarehouse 备件退库
     * @return 备件退库集合
     */
    public List<TReturnWarehouse> selectTReturnWarehouseList(TReturnWarehouse tReturnWarehouse);

    /**
     * 新增备件退库
     *
     * @param tReturnWarehouse 备件退库
     * @return 结果
     */
    public int insertTReturnWarehouse(TReturnWarehouse tReturnWarehouse);

    /**
     * 修改备件退库
     *
     * @param tReturnWarehouse 备件退库
     * @return 结果
     */
    public int updateTReturnWarehouse(TReturnWarehouse tReturnWarehouse);

    /**
     * 删除备件退库
     *
     * @param id 备件退库主键
     * @return 结果
     */
    public int deleteTReturnWarehouseById(Long id);

    /**
     * 批量删除备件退库
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTReturnWarehouseByIds(Long[] ids);

}
